package ten.strategy.homework;

public class Mining {
    private Strategy strategy;

    public Mining(Strategy strategy) {
        this.strategy = strategy;
    }

    public String use(){
        return strategy.execute();
    }
}
